package com.icss.train_sys_back.service.statistics_manage;

import com.icss.train_sys_back.entity.statistics_manage.PassengerFlowEntity;
import com.icss.train_sys_back.entity.statistics_manage.PassengerTimeDistributionEntity;
import com.icss.train_sys_back.entity.statistics_manage.PassengerTrendEntity;

import java.util.List;
import java.util.Map;

/**
 * @Author 小泽
 * @createTime 2025/10/10 9:23
 */
public interface PassengerStatisticsService {
    //客流分析核心数据展示
    PassengerFlowEntity PassengerFlowSummary(String dateType, Integer stationId, String startDate, String endDate);

    //客流量趋势分析
    PassengerTrendEntity passengerTrend(String dateType, Integer stationId, String startDate, String endDate);

    //热门车站客流分布数据
    List<Map<String, Object>> getStationDistribution(String dateType, Integer stationId, String startDate, String endDate);

    /**
     * 获取客流量时段分布数据
     * 注意：该方法当前只统计当天的数据，忽略传入的日期参数
     */
    PassengerTimeDistributionEntity getPassengerTimeDistribution(String dateType, Integer stationId, String startDate, String endDate);
}
